<?php
declare (strict_types=1);

namespace app\service;

use think\db\exception\DbException;
use think\Paginator;

class Goods
{
    /**
     * 获取列表
     * @return Paginator
     * @throws DbException
     */
    public function getList(): Paginator {
        $model = new \app\model\Goods();
        return $model->getList();
    }
}
